package com.settlement.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.settlement.system.model.entity.SysSubjects;
import com.settlement.system.model.form.SubjectsForm;
import com.settlement.system.model.query.SubjectsPageQuery;
import com.settlement.system.model.vo.SubjectsImportVo;
import com.settlement.system.model.vo.SysSubjectsVO;

import java.util.List;

/**
 * <p>
 * 科目设置 服务类
 * </p>
 *
 * @author huangrensen
 * @since 2023-09-07
 */
public interface SysSubjectsService extends IService<SysSubjects> {

    Page<SysSubjectsVO> getSubjectsPage(SubjectsPageQuery queryParams);

    boolean saveSubjects(SubjectsForm subjectsForm);

    SysSubjects getSubjectsFormData(Long subjectsId);

    boolean deleteSubjects(String ids);

    List<SysSubjects> getSubjectsList(SubjectsPageQuery queryParams);

    List<String> updateBatch(List<SubjectsImportVo> vos);

    SysSubjects getByLastCode(String lastCode);
}
